3.276 \(\int \frac {\cosh ^5(x)}{a+a \sinh ^2(x)} \, dx\)

Optimal. Leaf size=18 \[ \frac {\sinh ^3(x)}{3 a}+\frac {\sinh (x)}{a} \]

[Out]

sinh(x)/a+1/3*sinh(x)^3/a

________________________________________________________________________________________

Rubi [A]  time = 0.05, antiderivative size = 18, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 2, integrand size = 15, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.133, Rules used = {3175, 2633} \[ \frac {\sinh ^3(x)}{3 a}+\frac {\sinh (x)}{a} \]

Antiderivative was successfully verified.

[In]

Int[Cosh[x]^5/(a + a*Sinh[x]^2),x]

[Out]

Sinh[x]/a + Sinh[x]^3/(3*a)

Rule 2633

Int[sin[(c_.) + (d_.)*(x_)]^(n_), x_Symbol] :> -Dist[d^(-1), Subst[Int[Expand[(1 - x^2)^((n - 1)/2), x], x], x
, Cos[c + d*x]], x] /; FreeQ[{c, d}, x] && IGtQ[(n - 1)/2, 0]

Rule 3175

Int[(u_.)*((a_) + (b_.)*sin[(e_.) + (f_.)*(x_)]^2)^(p_), x_Symbol] :> Dist[a^p, Int[ActivateTrig[u*cos[e + f*x
]^(2*p)], x], x] /; FreeQ[{a, b, e, f, p}, x] && EqQ[a + b, 0] && IntegerQ[p]

Rubi steps

\begin {align*} \int \frac {\cosh ^5(x)}{a+a \sinh ^2(x)} \, dx &=\frac {\int \cosh ^3(x) \, dx}{a}\\ &=\frac {i \operatorname {Subst}\left (\int \left (1-x^2\right ) \, dx,x,-i \sinh (x)\right )}{a}\\ &=\frac {\sinh (x)}{a}+\frac {\sinh ^3(x)}{3 a}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.00, size = 19, normalized size = 1.06 \[ \frac {\frac {3 \sinh (x)}{4}+\frac {1}{12} \sinh (3 x)}{a} \]

Antiderivative was successfully verified.

[In]

Integrate[Cosh[x]^5/(a + a*Sinh[x]^2),x]

[Out]

((3*Sinh[x])/4 + Sinh[3*x]/12)/a

________________________________________________________________________________________

fricas [A]  time = 2.57, size = 20, normalized size = 1.11 \[ \frac {\sinh \relax (x)^{3} + 3 \, {\left (\cosh \relax (x)^{2} + 3\right )} \sinh \relax (x)}{12 \, a} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(cosh(x)^5/(a+a*sinh(x)^2),x, algorithm="fricas")

[Out]

1/12*(sinh(x)^3 + 3*(cosh(x)^2 + 3)*sinh(x))/a

________________________________________________________________________________________

giac [A]  time = 2.02, size = 29, normalized size = 1.61 \[ -\frac {{\left (9 \, e^{\left (2 \, x\right )} + 1\right )} e^{\left (-3 \, x\right )} - e^{\left (3 \, x\right )} - 9 \, e^{x}}{24 \, a} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(cosh(x)^5/(a+a*sinh(x)^2),x, algorithm="giac")

[Out]

-1/24*((9*e^(2*x) + 1)*e^(-3*x) - e^(3*x) - 9*e^x)/a

________________________________________________________________________________________

maple [B]  time = 0.05, size = 67, normalized size = 3.72 \[ \frac {-\frac {1}{3 \left (\tanh \left (\frac {x}{2}\right )-1\right )^{3}}-\frac {1}{2 \left (\tanh \left (\frac {x}{2}\right )-1\right )^{2}}-\frac {1}{\tanh \left (\frac {x}{2}\right )-1}-\frac {1}{3 \left (\tanh \left (\frac {x}{2}\right )+1\right )^{3}}+\frac {1}{2 \left (\tanh \left (\frac {x}{2}\right )+1\right )^{2}}-\frac {1}{\tanh \left (\frac {x}{2}\right )+1}}{a} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(cosh(x)^5/(a+a*sinh(x)^2),x)

[Out]

2/a*(-1/6/(tanh(1/2*x)-1)^3-1/4/(tanh(1/2*x)-1)^2-1/2/(tanh(1/2*x)-1)-1/6/(tanh(1/2*x)+1)^3+1/4/(tanh(1/2*x)+1
)^2-1/2/(tanh(1/2*x)+1))

________________________________________________________________________________________

maxima [B]  time = 0.33, size = 34, normalized size = 1.89 \[ \frac {{\left (9 \, e^{\left (-2 \, x\right )} + 1\right )} e^{\left (3 \, x\right )}}{24 \, a} - \frac {9 \, e^{\left (-x\right )} + e^{\left (-3 \, x\right )}}{24 \, a} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(cosh(x)^5/(a+a*sinh(x)^2),x, algorithm="maxima")

[Out]

1/24*(9*e^(-2*x) + 1)*e^(3*x)/a - 1/24*(9*e^(-x) + e^(-3*x))/a

________________________________________________________________________________________

mupad [B]  time = 1.36, size = 35, normalized size = 1.94 \[ \frac {{\mathrm {e}}^{3\,x}}{24\,a}-\frac {{\mathrm {e}}^{-3\,x}}{24\,a}-\frac {3\,{\mathrm {e}}^{-x}}{8\,a}+\frac {3\,{\mathrm {e}}^x}{8\,a} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(cosh(x)^5/(a + a*sinh(x)^2),x)

[Out]

exp(3*x)/(24*a) - exp(-3*x)/(24*a) - (3*exp(-x))/(8*a) + (3*exp(x))/(8*a)

________________________________________________________________________________________

sympy [B]  time = 6.09, size = 124, normalized size = 6.89 \[ - \frac {6 \tanh ^{5}{\left (\frac {x}{2} \right )}}{3 a \tanh ^{6}{\left (\frac {x}{2} \right )} - 9 a \tanh ^{4}{\left (\frac {x}{2} \right )} + 9 a \tanh ^{2}{\left (\frac {x}{2} \right )} - 3 a} + \frac {4 \tanh ^{3}{\left (\frac {x}{2} \right )}}{3 a \tanh ^{6}{\left (\frac {x}{2} \right )} - 9 a \tanh ^{4}{\left (\frac {x}{2} \right )} + 9 a \tanh ^{2}{\left (\frac {x}{2} \right )} - 3 a} - \frac {6 \tanh {\left (\frac {x}{2} \right )}}{3 a \tanh ^{6}{\left (\frac {x}{2} \right )} - 9 a \tanh ^{4}{\left (\frac {x}{2} \right )} + 9 a \tanh ^{2}{\left (\frac {x}{2} \right )} - 3 a} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(cosh(x)**5/(a+a*sinh(x)**2),x)

[Out]

-6*tanh(x/2)**5/(3*a*tanh(x/2)**6 - 9*a*tanh(x/2)**4 + 9*a*tanh(x/2)**2 - 3*a) + 4*tanh(x/2)**3/(3*a*tanh(x/2)
**6 - 9*a*tanh(x/2)**4 + 9*a*tanh(x/2)**2 - 3*a) - 6*tanh(x/2)/(3*a*tanh(x/2)**6 - 9*a*tanh(x/2)**4 + 9*a*tanh
(x/2)**2 - 3*a)

________________________________________________________________________________________